<%@ include file="/includes/includes.jsp" %>
<%@ page language="Java" contentType="text/html; charset=UTF-8" isELIgnored="false" %>
<div class="margin2ptb">
    <a href="/admin/addAcl.do" title="<spring:message code='add'/>"><img
            border="0" src="/images/add.gif" alt="<spring:message code='add'/>"></a>
</div>
<div class="table_wrapper">
    <div>
        <div>
            <div style="width: 100%;">
                <table border="0" cellspacing="0" cellpadding="0" class="table_data">
                    <thead>
                    <tr>
                        <%--<th class="th_data_first"></th>--%>
                        <th class="th_data"><spring:message code='object'/></th>
                        <th class="th_data"><spring:message code='sid'/></th>
                        <th class="th_data"><spring:message code='permissions'/></th>
                    </tr>
                    </thead>
                    <c:forEach var="acl" items="${aclEntries}" varStatus="aclindex">
                        <tr class="${aclindex.index % 2 == 0 ? 'even' : 'odd'}">
                            <%--<td class="td_data_first">--%>
                                <%--<a href="/admin/viewAcl.do?aclId=${acl.id}"--%>
                                   <%--title="<spring:message code='view'/>"><img border="0"--%>
                                                                              <%--src="/images/view.gif"--%>
                                                                              <%--alt="<spring:message code='view'/>"></a>--%>
                                <%--<a href="/admin/editAcl.do?aclId=${acl.id}"--%>
                                   <%--title="<spring:message code='edit'/>"><img border="0"--%>
                                                                              <%--src="/images/edit.gif"--%>
                                                                              <%--alt="<spring:message code='edit'/>"></a>--%>
                                <%--<a href="/admin/deleteAcl.do?aclId=${acl.id}"--%>
                                   <%--title="<spring:message code='delete'/>"><img--%>
                                        <%--border="0" src="/images/delete.gif" alt="<spring:message code='delete'/>"></a>--%>
                            <%--</td>--%>
                            <td class="td_data">${acl.objectIdentity}</td>
                            <td class="td_data">${acl.aclSid}</td>
                            <td class="td_data">${acl.granting}</td>
                            <%--<td class="td_data">--%>
                                <%--<c:choose>--%>
                                    <%--<c:when test="${not empty acl.permissions}">--%>
                                        <%--<c:forEach var="permission" items="${acl.permissions}"--%>
                                                   <%--varStatus="permissionindex">--%>
                                            <%--<c:out value="${permission.name}"/>--%>
                                            <%--<c:if test="${not permissionindex.last}"><br></c:if>--%>
                                        <%--</c:forEach>--%>
                                    <%--</c:when>--%>
                                    <%--<c:otherwise><spring:message code="permissions.not.defined"/></c:otherwise>--%>
                                <%--</c:choose>--%>
                            <%--</td>--%>
                        </tr>
                    </c:forEach>
                </table>
            </div>
        </div>
    </div>
    <%--<ui:include src="/resources/includes/pagination.xhtml">--%>
    <%--<ui:param name="paginationBean" value="${aclsTable}"/>--%>
    <%--</ui:include>--%>
</div>